using System;
using System.Web;
using Microsoft.SharePoint;

namespace CKS.EBE.API
{
    public interface IUrlProvider
    {
        void RewriteUrl(Uri siteUrl, HttpContext context, SPWeb oWeb, BlogSettings bs);
        //void RewriteTagUrl(Uri siteUrl, HttpContext context, SPWeb oWeb);
        //void RewriteMonthUrl(Uri siteUrl, HttpContext context, SPWeb oWeb, string month, string year);
        SPListItem GetPostFromUrlTitle(string urlTitle, SPWeb oWeb);
        void RewritePostUrl(Uri siteUrl, HttpContext context, SPWeb oWeb);
        string createTagUrl(string tag);
        string createMonthUrl(string postDate);
        string createPostUrl(string postDate, string urlTitle, string postID);
        string createAbsolutePostUrl(string postDate, string urlTitle, string postID);
        bool UrlHandled(string sUrl);
        void CheckRootUrl(Uri siteUrl, HttpContext context, SPWeb oWeb);

    }
}
